package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_GRANT_MED database table.
 * 
 */
@Entity
@Table(name="YZR_GRANT_MED")
@NamedQuery(name="YzrGrantMed.findAll", query="SELECT y FROM YzrGrantMed y")
public class YzrGrantMed implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="GRANT_MED_ID")
	private String grantMedId;

	@Column(name="GRANT_MED_BINGREN_NAME")
	private String grantMedBingrenName;

	@Column(name="GRANT_MED_CAOZUOYUAN")
	private BigDecimal grantMedCaozuoyuan;

	@Column(name="GRANT_MED_CHUFANG_ID")
	private BigDecimal grantMedChufangId;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	@Column(name="GRANT_MED_DATE")
	private Date grantMedDate;

	@Column(name="GRANT_MED_KIND")
	private String grantMedKind;

	@Column(name="GRANT_MED_MONEY")
	private BigDecimal grantMedMoney;

	@Column(name="GRANT_MED_PHARMACY_ID")
	private String grantMedPharmacyId;

	public YzrGrantMed() {
	}

	public String getGrantMedId() {
		return this.grantMedId;
	}

	public void setGrantMedId(String grantMedId) {
		this.grantMedId = grantMedId;
	}

	public String getGrantMedBingrenName() {
		return this.grantMedBingrenName;
	}

	public void setGrantMedBingrenName(String grantMedBingrenName) {
		this.grantMedBingrenName = grantMedBingrenName;
	}

	public BigDecimal getGrantMedCaozuoyuan() {
		return this.grantMedCaozuoyuan;
	}

	public void setGrantMedCaozuoyuan(BigDecimal grantMedCaozuoyuan) {
		this.grantMedCaozuoyuan = grantMedCaozuoyuan;
	}

	

	public BigDecimal getGrantMedChufangId() {
		return grantMedChufangId;
	}

	public void setGrantMedChufangId(BigDecimal grantMedChufangId) {
		this.grantMedChufangId = grantMedChufangId;
	}

	public Date getGrantMedDate() {
		return this.grantMedDate;
	}

	public void setGrantMedDate(Date grantMedDate) {
		this.grantMedDate = grantMedDate;
	}

	public String getGrantMedKind() {
		return this.grantMedKind;
	}

	public void setGrantMedKind(String grantMedKind) {
		this.grantMedKind = grantMedKind;
	}

	public BigDecimal getGrantMedMoney() {
		return this.grantMedMoney;
	}

	public void setGrantMedMoney(BigDecimal grantMedMoney) {
		this.grantMedMoney = grantMedMoney;
	}

	public String getGrantMedPharmacyId() {
		return this.grantMedPharmacyId;
	}

	public void setGrantMedPharmacyId(String grantMedPharmacyId) {
		this.grantMedPharmacyId = grantMedPharmacyId;
	}

}